<?php
namespace App\Record\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 成功订单记录Dto （导入导出）
 */
#[ExcelData]
class RecordPaymentSuccessDto implements MineModelExcel
{
    #[ExcelProperty(value: "Id", index: 0)]
    public string $id;

    #[ExcelProperty(value: "用户id", index: 1)]
    public string $user_id;

    #[ExcelProperty(value: "上级ID", index: 2)]
    public string $parent_id;

    #[ExcelProperty(value: "用实际到账", index: 3)]
    public string $fact_money;

    #[ExcelProperty(value: "到账金额", index: 4)]
    public string $received_amount;

    #[ExcelProperty(value: "内部订单号", index: 5)]
    public string $order_sn;

    #[ExcelProperty(value: "外部订单号", index: 6)]
    public string $transaction_id;

    #[ExcelProperty(value: "支付方式", index: 7)]
    public string $method_id;

    #[ExcelProperty(value: "支付名称", index: 8)]
    public string $method_name;

    #[ExcelProperty(value: "创建人", index: 9)]
    public string $created_by;

    #[ExcelProperty(value: "创建时间", index: 10)]
    public string $create_time;

    #[ExcelProperty(value: "修改时间", index: 11)]
    public string $update_time;


}